package com.github.service.impl;

import com.github.dao.UserDao;
import com.github.dao.impl.UserDaoImpl;
import com.github.dao.impl.UserDaoOracleImpl;
import com.github.dao.impl.UserDaoSqlImpl;
import com.github.service.UserService;

/**
 * @author fatfish
 * @version 1.0
 * @date 2025/8/13 11:29
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;
//    UserDao userDao = new UserDaoImpl();
//    UserDao userDao = new UserDaoSqlImpl();
//    UserDao userDao = new UserDaoOracleImpl();

    @Override
    public void getUser() {
        userDao.getUser();
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
